/* eslint-disable */
/* prettier-ignore */
import * as React from 'react';
import { EColors } from '../../constants/defaultValues';

export interface ICheckProps {
  size?: number;
  fill?: string;
  className?: string;
}

export const Check = ({fill = EColors.Primary, size = 16, className}: ICheckProps) => {
  return (
    <svg fill={fill} className={className} width={size} height={size} viewBox={`0 0 ${size} ${size}`} xmlns="http://www.w3.org/2000/svg">
      <path d="M8.02889 16C5.88702 16 3.87902 15.1997 2.33955 13.6657C0.465414 11.7983 -0.337787 9.26395 0.130747 6.6629C0.666214 3.19484 3.47742 0.527096 6.95795 0.0602408C9.70222 -0.273227 12.4465 0.79387 14.1868 2.86137C14.5884 3.39492 14.5884 4.12855 14.1868 4.5954L9.43449 9.86419C8.69822 10.6645 7.49342 10.7312 6.62329 10.0643L3.47742 7.46323C3.20968 7.19645 3.14275 6.79629 3.41048 6.52952C3.67822 6.26274 4.07982 6.19605 4.34755 6.46282L7.49342 9.06387C7.76115 9.26395 8.16276 9.26395 8.43049 8.99718L13.1828 3.72839C11.7102 1.99435 9.43449 1.06064 7.15875 1.39411C4.28062 1.72758 1.87102 3.99516 1.40248 6.86298C1.06781 9.06387 1.73715 11.1981 3.27662 12.732C4.81608 14.266 6.95795 14.9329 9.16676 14.5994C12.0449 14.1326 14.3876 11.6649 14.6553 8.7971C14.7222 8.13016 14.7222 7.46323 14.5884 6.79629C14.5214 6.52952 14.4545 6.26274 14.3876 6.06266C14.2537 5.72919 14.4545 5.32903 14.8561 5.26234C15.1908 5.12895 15.5924 5.32903 15.6593 5.72919C15.7262 5.99597 15.7932 6.32943 15.8601 6.59621C15.994 7.39653 16.0609 8.19685 15.927 8.93048C15.5254 12.4652 12.7812 15.3331 9.30062 15.9333C8.89902 15.9333 8.49742 16 8.02889 16Z"/>
    </svg>
  );
};
